package com.zimi.mapper;

import com.zimi.model.WfFormPlugins;
import com.zimi.model.WfFormPluginsVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WfFormPluginsMapper {
    int deleteByPrimaryKey(Integer fpId);

    int deleteByModuleId(Integer moduleId);

    int insert(WfFormPlugins record);

    int insertSelective(WfFormPlugins record);

    WfFormPlugins selectByPrimaryKey(Integer fpId);

    int updateByPrimaryKeySelective(WfFormPlugins record);

    int updateByPrimaryKey(WfFormPlugins record);

    List<WfFormPlugins> selectAll(WfFormPlugins wfFormPlugins);

    List<WfFormPluginsVO> selectVOAll(WfFormPlugins wfFormPlugins);

    Integer selectMaxOrderNum(WfFormPlugins record);

    WfFormPluginsVO selectVOById(Integer fpId);
}